package com.example.springtest.exam.service;


import com.example.springtest.exam.pojo.Exam;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ExamService {


    List<Exam> getExamList();

    void addExam(Exam exam);

    void deleteExam(Integer id);

    void editExam(Integer id, Exam exam);

    Exam updateStatus(Integer id);
}
